public class Employee {

	private PrivateAffair privateAffair;
	public PrivateAffair getPrivateAffair() {
		
		return privateAffair;
	}
	
	private WorkPlace workPlace;
	public WorkPlace getWorkPlace() {
	
		return workPlace;
	}
	public void setWorkPlace(WorkPlace workPlace) {
	
		if (workPlace != null) {
			this.workPlace = workPlace;
		}
	}
	public void setWorkPlace(String country, String city, String street, String office) {
	
		this.workPlace = new WorkPlace(country, city, street, office);
	}
	
	
	public Employee(PrivateAffair privateAffair, WorkPlace workPlace) {
	
		super();
		
		this.privateAffair = privateAffair;
		this.workPlace = workPlace;
	
		System.out.println("Create Employee");
	}
	public Employee(HumanDescription hDescription, EmploymentContract contract, WorkPlace workPlace) {
	
		super();
		
		this.privateAffair = new PrivateAffair(hDescription, contract);
		System.out.println("Create Employee");
	}
}